<template>
  <preview-item-loader v-bind="$props" v-on="$listeners">
    <el-input v-model="value"></el-input>
  </preview-item-loader>
</template>

<script>
  import PreviewItemLoader from "@/components/PreviewItemLoader";
  import CompMixins from "@/mixins/CompMixins";

  export default {
    name: "CompInput",
    type: 'input',
    title: 'input',
    desc: '用于定义输入框',
    components: { PreviewItemLoader },
    mixins: [CompMixins],
    data() {
      return {
        value: ''
      }
    }
  }
</script>
